public class MyDate {
    public int year;
    public int month;
    public int day;
    public  void setDate(int y,int m,int d){
        this.year = y;
        this.month = m;
        this.day = d;

    }
    public void printDate(){
        System.out.println("year: "+ year + " month: "
                +month+" day: "+day);

        this.test();
    }

    public void test(){
        System.out.println("test()");
    }

}
